package com.cyber.app_container.mapper;

import com.cyber.app_container.dto.RoleDTO;
import com.cyber.app_container.entity.Role;
import org.mapstruct.Mapper;

@Mapper(componentModel = "spring")
public interface RoleMapper {
    RoleDTO toDto(Role role);
    Role toEntity(RoleDTO dto);
}